/** When your routing table is too long, you can split it into small modules **/
// 曲线管理
import Layout from '@/layout'


// 权限管理
const authorityManagement = {
  path: '/authority-management',
  component: Layout,
  redirect: '/authority-management/personnel',
  name: 'authority-management',
  meta: {
    title: 'authorityManagement',
    icon: 'peoples'
  },
  children: [
    {
      path: 'personnel',
      component: () => import('@/views/AuthorityManagement/Personnel'),
      name: 'am-personnel',
      meta: { title: 'amPersonnel'}
    },
    {
      path: 'post',
      component: () => import('@/views/AuthorityManagement/Post'),
      name: 'am-post',
      meta: { title: 'amPost' }
    },
    {
      path: 'menu',
      component: () => import('@/views/AuthorityManagement/Menu'),
      name: 'am-menu',
      meta: { title: 'amMenu' }
    },
  ]
}
export default authorityManagement
